<template>
  <aside class="el-aside" :style="{ width }">
    <slot></slot>
  </aside>
</template>
<script lang="ts">
export default {
  name: 'ElAside'
}
</script>
<script setup lang="ts">
import { withDefaults } from 'vue'
// defineOptions({
//   name: 'ElAside',
//   inheritAttrs: false
// })
interface Props {
  width: string
}

withDefaults(defineProps<Props>(), { width: '300px' })
</script>

<style lang="scss" scoped>
@import '../../styles/mixin';

@include b(aside) {
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: auto;
}
</style>
